package com.henu.engineer.dao.mapper.teachingoutline

import com.henu.engineer.dao.entity.teachingoutline.GoalMethodProportion
import org.apache.ibatis.annotations.Mapper
import org.springframework.stereotype.Repository

/**
 *
 * @author noexcept
 * @since 2021/8/10 20:46
 */
@Mapper
@Repository
interface GoalMethodProportionXmlMapper {

    /**
     * 返回某个课程的所有目标的所有考核方式占比
     */
    fun selectByCourseId(courseId: String): List<GoalMethodProportion>

    fun selectByCourseGoalId(courseGoalId: String): List<GoalMethodProportion>
}